﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Autodesk.AutoCAD.DatabaseServices;

namespace Galaxy.AutoCAD.Databases
{
    public static class AttributeDefinitionTool
    {
        #region 设置属性定义的通用样式
        public static void SetStyleForAtt(this AttributeDefinition attDef, double height, TextHorizontalMode textHorizontalMode, TextVerticalMode textVerticalMode, bool invisible)
        {
            attDef.Height = height;
            attDef.HorizontalMode = textHorizontalMode;
            attDef.VerticalMode = textVerticalMode;
            attDef.Invisible = invisible;
        }
        #endregion
    }
}
